import request from '@/utils/https'

//上传定制文件，图片，表格
export const uploadCustom = params => request('post','api/custom/uploadCustom',params)

//获取定制固件信息
export const queryFirmwareCustom = params => request('get','api/custom/queryFirmwareCustom',params)

//增加定制需求
export const addFirmwareCustom = params => request('post','api/custom/addFirmwareCustom',params)

//审核获取定制固件信息
export const queryIdFirmwareCustom = params => request('get','api/custom/queryIdFirmwareCustom',params)

//审核定制固件需求
export const examineFirmwareCustom = params => request('post','api/custom/examineFirmwareCustom',params)

//获取交付定制固件信息
export const queryFirmwareDeliver = params => request('get','api/custom/queryFirmwareDeliver',params)

//交付固件
export const deliverFirmwareDeliver = params => request('post','api/custom/deliverFirmwareDeliver',params)

//获取最近定制固件信息
export const queryUserIdFirmwareCustom = params => request('get','api/custom/queryUserIdFirmwareCustom',params)

//查看固件需求
export const queryIdFirmwareDeliver = params => request('get','api/custom/queryIdFirmwareDeliver',params)

//删除固件定制
export const deleteCustom = params => request('post','api/custom/deleteCustom',params)